package cn.hh.pet.mapper;

import cn.hh.pet.domain.Pet;
import cn.hh.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mao
 * @since 2025-03-29
 */
public interface PetMapper extends BaseMapper<Pet> {

    // @Param注解: Spring中传多个参数: 1.@Param注解,  2.Map集合,  3.对象
    void offsale(@Param("offsaletime") Date offsaletime, @Param("ids") List<Long> ids);
}
